package com.example.campus_activity_backend.service;

import com.example.campus_activity_backend.domain.SysUser;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author Hongxia
* @description 针对表【t_sys_user】的数据库操作Service
* @createDate 2023-11-17 14:21:55
*/
public interface SysUserService extends IService<SysUser> {
    /**
     * 添加用户
     */
    public long addUser(SysUser user);

    /**
     * 用户信息脱敏
     */
    public SysUser getSafetyUser(SysUser user);

    /**
     * 根据用户名查询用户
     */
    public SysUser getUserByLoginName(String loginName);
}
